<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
<style>
    .costReportFormImageDiv{ width:200px; height:180px;overflow:hidden}
    .costReportFormImageDiv img{max-width:200px;_width:expression(this.width > 200 ? "200px" : this.width);max-height:180px;_height:expression(this.width > 180 ? "18px" : this.height);}
</style>
<div id="costReport_Form_div">
    <form id="costReport_Form" method="post">
        <!-- 开始表单 -->
        <div style="margin-left:5px;text-align: left;height: 280px;">
            <table style="border-collapse:separate; border-spacing:0px 20px;">
                <!--第一行-->
                <tr style="padding-bottom: 5px">
                    <td width="18%" >
                        <input id="costReportId" class="easyui-textbox"
                               data-options="required:true,editable:false,label:'成本单据',labelWidth:'60',labelAlign:'right'"
                               name="costReportId" style="width:97%">
                    </td>
                    <td width="15%">
                        <input id="costReportDate" class="easyui-datebox" editable="false" name="costReportDate"
                               data-options="label:'日期',current:true,labelWidth:'40',labelAlign:'right'" style="width:96%">
                    </td>
                    <td width="15%">
                        <input class="easyui-combobox" data-options="panelHeight:'auto',required:true,valueField: 'value',label:'成品含客料',labelWidth:'70',labelAlign:'right',
                         textField: 'label',data: [{label: '是',value: '1'},{label: '否',value: '2'}]" name="finishedProduct"  style="width:96%">

                    </td>
                    <td width="20%">
                        <input class="easyui-textbox" id="clientcode" name="clientcode" data-options="label:'客户编码',labelWidth:'60',labelAlign:'right'" style="width:100%">

                    </td>
                    <td align="right">
                        <input id="costEdition" class="easyui-numberbox"
                               data-options="labelAlign:'left',label:'版本',labelWidth:'40',width:150,labelAlign:'right'"
                               name="costEdition" style="width:75%">
                    </td>

                    <td width="20%" rowspan="4" align="center">
                        <div id="costImagePathDiv">
                            无产品图片
                            <input id="costReportFormFile" type="file" onchange="costReportUploadFile()" name="file" style="width:100%;display: none">
                        </div>
                        <!--保存上传的路径-->
                        <input id="costImagePathId"  name="costImagePath" style="width:98%;display: none">
                        <div id="costReportFormImageDiv" class="costReportFormImageDiv" style="display: none">
                            <img id="costReportFormImage" >
                        </div>
                    </td>
                </tr>
               <!-- 第二行-->
                <tr>
                    <td colspan="2" id="costReportTdWidth">
                        <input id="costReport_Form_salesPkOrg"
                               data-options="panelHeight:'auto',required:true,label:'销售组织',labelAlign:'right',labelWidth:'60',valueField:'pkOrg',textField:'name'"
                               name="salesPkOrg" style="width:99%">
                    </td>
                    <td>
                        <input class="easyui-combobox" data-options="panelHeight:'auto',required:true,valueField: 'value',label:'配方含客料',labelWidth:'70',labelAlign:'right',
                            textField: 'label',data: [{label: '是',value: '1'},{label: '否',value: '2'}]" name="whetherSupplier"  style="width:96%">
                    </td>
                    <td colspan="2">
                        <input class="easyui-textbox" id="clientName" name="clientName" data-options="label:'客户全称',labelWidth:'60',labelAlign:'right'" style="width:100%">
                    </td>
                </tr>
                <!--第三行-->
                <tr>
                    <td colspan="2">
                        <span id="costReport_Form_pkOrgAccountTooltip">
                        <input id="costReport_Form_pkOrgAccount"
                               data-options="panelHeight:'auto',required:true,readonly:'true',label:'公司账套',prompt:'需先选择销售组织',labelWidth:'60',labelAlign:'right',valueField:'pkOrg',textField:'name'"
                               name="pkOrgAccount" style="width:100%">
                        </span>
                    </td>
                    <td>
                        <input class="easyui-combobox" data-options="panelHeight:'auto',required:true,valueField: 'value',label:'销售类型',labelWidth:'70',labelAlign:'right',
                        textField: 'label',data: [{label: '内销',value: '内销'},{label: '外销',value: '外销'}]" name="saleType" style="width:96%">
                    </td>
                    <td colspan="2">
                        <input class="easyui-textbox" id="productName" name="productName"
                               data-options="label:'产品名称',labelWidth:'60',labelAlign:'right'" style="width:100%" >
                    </td>
                </tr>
                <!--第四行-->
                <tr>
                    <td colspan="2">
                        <span id="costReport_Form_departmentTooltip">
                            <input  id="costReport_Form_department" name="department" class="easyui-combotree"
                            data-options="panelHeight:'auto',required:true,readonly:'true',label:'部门',labelWidth:'60',labelAlign:'right',prompt:'需先选择公司账套'" style="width: 100%"/>
                        </span>
                    </td>
                    <td>
                        <input class="easyui-combobox" data-options="required:true,valueField: 'value',label:'更新类型',labelWidth:'70',labelAlign:'right',panelHeight:100,
                        textField: 'label',data: [{ label: '新报价',value: '1'},{label: '更新成本',value: '2'},{label: '更新报价',value: '3'},{label: '更新报告及成本',value: '4'}]"
                               name="updateType" style="width:96%">
                    </td>
                    <td >
                        <input id="costReport_Form_costReportUnits" class="easyui-textbox" name="costReportUnits"
                               data-options="label:'单位',labelWidth:'40',labelAlign:'right',labelAlign:'right'" style="width:41%">
                        <input id="costReport_Form_capacity" class="easyui-textbox" name="capacity"
                               data-options="label:'容量规格',labelWidth:'60',labelAlign:'right'" style="width:57.5%">
                    </td>
                    <td align="right">
                        <input id="costReport_Form_encasementQuantity" class="easyui-numberbox" name="encasementQuantity"
                               data-options="label:'装箱量',labelWidth:'50',labelAlign:'right'" value="1" style="width:75%">
                    </td>
                </tr>
                <!--第五行-->
                <tr>
                    <td colspan="3"id="finishedProductCodeTd">
                        <span id="finishedProductCodeTooltip">
                            <!--被span标签包裹着会造成 style="width:50%失效，处理办法：使用js获取其中一个字段的宽度，赋值上去-->
                            <input id="finishedProductCode" class="easyui-textbox" name="finishedProductCode"
                                   data-options="label:'成品编码',labelWidth:'60',labelAlign:'right',readonly:'true',prompt:'请先选择公司账套'">
                        </span>
                        ~
                        <input id="finishedProductCode2" name="finishedProductCode2"   class="easyui-textbox">
                    </td>
                    <td>
                        <input class="easyui-textbox" name="quotation" data-options="required:true,label:'报价单编号',labelWidth:'70',labelAlign:'right',prompt:'SCXXXXXXXXX号'" style="width:100%">
                    </td>
                    <td align="right">
                        <input class="easyui-numberbox"
                               data-options="label:'订单量',labelWidth:'50',labelAlign:'right',onChange:orderQuantityIdOnChange"
                               name="orderQuantity" id="orderQuantityId" style="width:75%">

                    </td>
                    <td  align="center">
                        <a href="#" id="costUploadTuPian"><i class="fa fa-plus-square fa-fw"></i>添加</a>&nbsp;|
                        <a  href="#" onclick="deleteCostUploadImage()"><i class="fa fa-trash-o fa-fw"></i>删除</a>
                    </td>
                </tr>
            </table>

        </div>
        <!-- A 水料价 -->
        <div style="width: 100%;margin: 20px 20px 20px 10px;">
            <table fitColumns="true" iconCls="icon-edit" id="cost_report_a" idField="id" showFooter="true" cls="opa-border_1"
                   singleSelect="true" style="width:100%;height:auto;"  title="<span style='color: #7c5aae'>A 水料价:</span><span style='color: green'>报价率为成本【￥5/kg以下X2】【￥5/kg-￥10/kgX1.75】【￥10/kg-￥20/kgX1.5】如少有/全新的配方或开料复杂要先咨询开发部才定</span>
" toolbar="#cost_report_a_tb">
                <thead>
                <tr>
                    <th align="center" field="id" hidden="true" width="80">id</th>
                    <th align="center"
                        editor="{type:'numberbox',options:{precision:4,onChange: function () {setEditing_actual_value(this)}}}"
                        field="labelCapacity"
                        width="120">
                        标签容量(1\kg)
                    </th>
                    <th align="center"
                        editor="{type:'numberbox',options:{precision:4,onChange: function () {setEditing_actual_value(this)}}}"
                        field="ratio"
                        width="80">
                        比重率
                    </th>
                    <th align="center"
                        editor="{type:'numberbox',options:{precision:6,required:true,prompt:'系统自动计算(可手动修改)',onChange:costReportaActualValueOnChange}}"
                        field="actualValue"
                        width="120">
                        实际灌装重量(kg)
                    </th>
                    <th align="center"
                        editor="{type:'textbox',options:{prompt:'手工输入'}}"
                        field="unitName" width="150">水料名称
                    </th>
                    <th align="center"
                        editor="{type:'textbox',options:{onChange:detailNameOnChange,readonly:'true',prompt:'请先算出重量才能输入'}}"
                        field="detailName" width="150">配方号
                    </th>
                    <th align="center"
                        editor="{type:'numberbox',options:{precision:4,required:true,prompt:'请输入单价',onChange:setEditing_cost_price}}"
                        field="unitPrice"
                        width="120">
                        水料单价(kg)
                    </th>
                    <th align="center"
                        editor="{type:'numberbox',options:{precision:4,required:true,readonly:true,prompt:'系统中单价'}}"
                        field="sysUnitPrice"
                        width="120">
                        系统水料单价(kg)
                    </th>
                    <th align="center"
                        editor="{type:'numberbox',options:{precision:4,required:true,readonly:'true',prompt:'系统自动计算'}}"
                        field="costPrice"
                        width="120">
                        成本价/pcs
                    </th>
                    <th align="center"
                        editor="{type:'numberbox',options:{precision:2,required:true,prompt:'系统自动计算'}}"
                        field="quotedPrice"
                        width="120">
                        报价率(2至1.5)/pcs
                    </th>
                </tr>
                </thead>
            </table>
            <div id="cost_report_a_tb" style="text-align: right">
                <a class="easyui-linkbutton" href="javascript:void(0);" iconCls="icon-add"
                   onclick="javascript:$('#cost_report_a').edatagrid('addRow')"
                   plain="true">添加</a>
                <a class="easyui-linkbutton" href="javascript:void(0);" iconCls="icon-remove"
                   onclick="javascript:$('#cost_report_a').edatagrid('destroyRow')"
                   plain="true">删除</a>
                <a class="easyui-linkbutton" href="javascript:void(0);" iconCls="icon-save"
                   onclick="javascript:$('#cost_report_a').edatagrid('saveRow')"
                   plain="true">保存</a>
            </div>
        </div>

        <!-- B 人工 -->
        <div style="width: 100%;margin: 20px 20px 20px 10px;">
            <table fitColumns="true" iconCls="icon-edit" id="cost_report_b" idField="costId" showFooter="true" cls="opa-border_2"
                   style="width:100%;height:auto" title="<span style='color: #0000FF'>B 人工: </span><span style='color: green'>人工——成本工时单价为￥20/小时，（工时计算按澳宝惠州/兆婷提供的工时计算表）</span>
                    " toolbar="#cost_report_b_tb">
                <thead>
                <tr>
                    <th align="center" field="id" hidden="true" width="100">id</th>
                    <th align="center" field="costId" hidden="true" width="100">计算单支工时操作详情关联字段</th>
                    <th align="center" field="subId" hidden="true" width="100">产品标准工时id</th>
                    <th align="center" field="workerType" data-options='formatter:changeWorkerTypeNname' ,
                        editor="{type:'textbox',options:{required:true,readonly:'true'}}" width="30">工作类型
                    </th>
                    <th align="center"
                        editor="{type:'textbox',options:{precision:4,required:true,readonly:'true',prompt:'系统自动计算'}}"
                        field="pieceTime" width="20">单支工时
                    </th>
                    <th align="center"
                        editor="{type:'textbox',options:{required:true,readonly:'true',prompt:'系统自动计算'}}"
                        field="standardTime" width="20">标准工时
                    </th>
                    <th align="center"
                        editor="{type:'textbox',options:{required:true,readonly:'true',prompt:'系统自动计算'}}"
                        field="timeUnitPrice" width="20">工时单价
                    </th>
                    <th align="center"
                        editor="{type:'textbox',options:{precision:4,required:true,readonly:'true',prompt:'系统自动计算'}}"
                        field="price" width="20">价格/pcs
                    </th>
                    <th align="center" editor="{type:'textbox',options:{}}" field="processDecomposition" width="100">
                        工艺分解/pcs
                    </th>
                </tr>
                </thead>
            </table>


            <div class="easyui-panel"
                 title="<span style='color: #987dbf'>其它费用: </span><span style='color: green'>实报实销</span>"
                 style="width:100%;height:90px;padding:10px;background:#fafafa;"
                 data-options="collapsible:true" cls="opa-border_2">

                <label style="margin-left: 18px"><a id="calculateFumigationCharge" href="javascript:void(0);" pageHtml="fumigationChargeCost.html">熏蒸费</a></label>
                <input class="easyui-numberbox" data-options="required:true,precision:4" id="fumigation_charge"
                       name="fumigationCharge"  style="width: 60px"
                       value="0.000">

                <label style="margin-left: 18px"><a id="calculateCartonCertificate" href="javascript:void(0);" pageHtml="cartonCertificateCost.html">纸箱证明书</a></label>
                <input class="easyui-numberbox" data-options="required:true,precision:4" id="carton_certificate"
                       name="cartonCertificate" style="width: 60px" value="0">

                <label style="margin-left: 18px"><a id="calculateFreight" pageHtml="freightFormulaCost.html" href="javascript:void(0);" >运费</a></label>
                <input class="easyui-numberbox" data-options="required:true,precision:4" id="freight" name="freight"
                   style="width: 60px"
                   value="0.000">

                <label style="margin-left: 18px"><a id="calculateCustoms_fee" href="javascript:void(0);" pageHtml="customsFeeCost.html">出口报关费用\检查费用</a></label>
                <input class="easyui-numberbox" data-options="required:true,precision:4" id="customs_fee"
                       name="customsFee"
                       style="width: 60px"
                       value="0.000">
                <label style="margin-left: 18px"><a id="calculateOtherCharges" onclick="calculateOtherChargesZtOnClick()" href="javascript:void(0);" pageHtml="calculateOtherChargesCost.html">授权费\顾问\其他</a></label>
                <input class="easyui-numberbox" data-options="required:true,precision:4" id="other_charges"
                       name="otherCharges" style="width: 60px"
                       value="0.000">

                <label style="margin-left: 6%">其他费用合共</label>
                <input class="easyui-numberbox" data-options="required:true,precision:4,readonly:'true'"
                       id="other_charges_total"
                       name="otherChargesTotal"
                       style="width: 60px" value="0">
            </div>
            <div style="">
                <label>Total of Part B:</label>
                <input class="easyui-numberbox" data-options="required:true,precision:4,readonly:'true'"
                       id="totalOfPartB"
                       name="totalOfPartB"
                       style="width: 70px" value="0">

                <input id="totalOfPartA" name="totalOfPartA" style="display:none" type="text">

                <!-- A报价基准:暂时留着吧，说不定以后有用，默认赋值0
                <input id="quotedPriceBenchmarkA" name="quotedPriceBenchmarkA" style="display:none" type="text" value="0">--->

                <input id="manHourTotal" name="manHourTotal" style="display:none" type="text">

                <input id="laborCostTotal" name="laborCostTotal" style="display:none" type="text">

                <input id="totalOfPartC" name="totalOfPartC" style="display:none" type="text">
            </div>
        </div>

        <!-- B 人工 工具栏 -->
        <div id="cost_report_b_tb" style="text-align: right;">
            <a class="easyui-linkbutton" href="javascript:void(0);" iconCls="icon-search"
               onclick="formatCountItem()"
               plain="true">标准工时详情</a>
            <a class="easyui-linkbutton" href="javascript:void(0);" iconCls="icon-add"
               onclick="formatCount()"
               plain="true">添加</a>
            <a class="easyui-linkbutton" href="javascript:void(0);" iconCls="icon-remove"
               onclick="javascript:$('#cost_report_b').edatagrid('destroyRow2')"
               plain="true">删除</a>
            <a class="easyui-linkbutton" href="javascript:void(0);" iconCls="icon-save"
               onclick="javascript:$('#cost_report_b').edatagrid('saveRow')"
               plain="true">保存</a>
        </div>
        <!--选择类型工时弹窗-->
        <div closed="true" id="InitialInfo_dlg" class="easyui-dialog">
            <div id="InitialInfo_table2_tb" style="padding:2px 5px;display: none" >
                <div class="easyui-panel" style="width:100%;">
                    <select id="InitialInfo_crii_pkOrg" class="easyui-combobox"  style="width:19%" data-options="panelHeight:'auto',onChange:initialInfoCriiPkOrgOnChange,buttonText:'组织',buttonAlign:'left'">
                        <option></option>
                        <option value="0001O110000000001HET">澳宝</option>
                        <option value="0001O110000000001HGC">兆婷</option>
                    </select>
                    <input class="easyui-searchbox" data-options="prompt:'请输入内容',menu:'#InitialInfo_crii_mu',searcher:InitialInfo_doSearch" style="width:33%">
                    <input id="InitialInfo_crii_type" class="easyui-combobox" style="width:33%" value="配制人工" data-options="panelHeight:'auto',buttonText:'类型',buttonAlign:'left',data:[{'id':'1','text':'配制人工'},{'id':'2','text':'灌装基础人工'},{'id':'3','text':'灌装/组装人工'},{'id':'4','text':'搬运人工'}],
                        valueField:'id',textField:'text',onChange: setEditing_worker_type">
                    <input id="InitialInfo_crii_multiple" class="easyui-numberbox" style="width:13%" data-options="buttonText:'倍数',buttonAlign:'left'">
                </div>
                <div id="InitialInfo_crii_mu">
                    <div data-options="name:'typeName'">类型名称</div>
                    <div data-options="name:'num'">序号</div>
                </div>

            </div>
            <div class="easyui-layout" data-options="fit:true">

                <div data-options="region:'east'" style="width:445px;padding:10px">
                    <table id="InitialInfo_table" fitColumns="true" singleSelect="true"
                           style="width: 100%;height: auto">
                    </table>
                </div>
                <div data-options="region:'center'" style="padding:1px 15px 0px 1px">
                    <table id="InitialInfo_table2" fitColumns="true" singleSelect="true"
                           style="width: 100%;height: auto">
                    </table>
                </div>
            </div>

        </div>

        <!-- c 配件费 -->
        <div style="width: 100%;margin: 20px 20px 20px 10px">
            <table iconCls="icon-edit" id="cost_report_c" idField="coding" showFooter="true" cls="opa-border_3"
                   singleSelect="false" style="width:100%;height:auto"
                   title="<span style='color: #1f637b'>C 配件费: </span><span style='color: green'> 实报</span>"
                   toolbar="#cost_report_c_tb">
                <thead>
                    <tr>
                        <th align="center" field="id" hidden="true" width="100">id</th>
                        <th align="center" editor="{type:'textbox'}" field="coding" width="30">品号</th>
                        <th align="center" editor="{type:'textbox',options:{required:true}}" field="mountings" width="100">配件</th>
                        <th align="center" editor="{type:'numberbox',options:{precision:4,required:true}}"field="mountingsPrice" width="30">
                            配件价格</th>
                        <th align="center" editor="{type:'textbox'}" field="mountingsRemark" width="80">备注</th>
                        <th align="center" editor="{type:'numberbox'}" hidden="true" field="type">纸箱：1和龙卡：2</th>
                        <th align="center" editor="{type:'textbox'}" hidden="true" field="randomNum">随机数</th>
                    </tr>
                </thead>
            </table>
            <!-- 配件费工具栏 -->
            <div id="cost_report_c_tb" style="text-align: right;">
                <a class="easyui-linkbutton" href="javascript:void(0);" iconCls="icon-remove" onclick="emptyMountings()"
                   plain="true">清空</a>
                <a class="easyui-linkbutton" href="javascript:void(0);" iconCls="icon-remove" onclick="javascript:$('#cost_report_c').edatagrid('destroyRow')"
                   plain="true">删除</a>
                <a class="easyui-linkbutton" href="javascript:void(0);" iconCls="icon-add" onclick="addTarton()"
                   plain="true">纸箱</a>
                <a class="easyui-linkbutton" href="javascript:void(0);" iconCls="icon-add" onclick="systemMountings()"
                   plain="true">添加系统配件</a>
                <a class="easyui-linkbutton" href="javascript:void(0);" iconCls="icon-add" onclick="javascript:$('#cost_report_c').edatagrid('addRow')"
                   plain="true">自定义添加</a>
                <a class="easyui-linkbutton" href="javascript:void(0);" iconCls="icon-save" onclick="javascript:$('#cost_report_c').edatagrid('saveRow')"
                   plain="true">保存</a>
            </div>

        </div>
        <div style="width: 100%;margin: 20px 10px 5px 10px;background-color: #fff" >
            <label><span style="font-weight: bold;font-size: 22px">整体统计如下：</span></label>
            <hr>
            <table>
<!-- T2税项-->
            <tr>
                <td colspan="6">
                    <label><span style="font-weight: bold;font-size: 16px">T2税项</span>[增值税/出口税]： 计算公式： [F-(A+C)] x 税率(內销
                    13%,外销 3%)</label>
                </td>
                <th style="text-align: right;width: 150px;">
                    <input class="easyui-numberbox" data-options="required:true" id="v_a_t_export_tax_rate"
                           name="vatexportTaxRate" style="width: 40px" value="13">%
                </th>
                <th style="text-align: right;width: 60px">Tax税款：</th>
                <th style="text-align: right">
                    <input class="easyui-numberbox" data-options="readonly:'true',required:true,precision:4" id="v_a_t_export_tax_cost"
                           name="vatexportTaxCost" style="width:  80px" value="0">
                </th>
            </tr>
                <!-- T3税项-->
            <tr>
                <td colspan="6">
                    <label><span style="font-weight: bold;font-size: 16px">T3税项</span>[城建、教育税]： 计算公式：T2 x 12% </label>
                </td>
                <th style="text-align: right">
                    <input class="easyui-numberbox" data-options="required:true" id="tax_item_rate" name="taxItemRate"
                           style="width: 40px" value="12">%
                </th>
                <th style="text-align: right;width: 60px">Tax税款：</th>
                <th style="text-align: right">
                    <input class="easyui-numberbox" data-options="readonly:'true',required:true,precision:4" id="tax_item__cost"
                           name="taxItemCost" style="width: 80px" value="0">
                </th>
            </tr>
                <!-- D总成本-->
            <tr>
                <td colspan="6"><label><span style="font-weight: bold;font-size: 16px">D总成本</span>： 计算公式：A+B+C x（1.05~1.1）</label></td>
                <th style="text-align: right">
                    <label>配件耗损率</label>
                    <input class="easyui-numberbox" data-options="required:true,precision:2" id="accessories_loss_rate"
                           name="accessoriesLossRate" style="width: 40px" value="1.05">%
                </th>
                <th></th>
                <th style="text-align: right">
                    <input class="easyui-numberbox" data-options="readonly:'true',required:true,precision:4" id="total_cost" name="totalCost" style="width: 80px" value="0">
                </th>
            </tr>
                <!--  DT总成本含税-->
            <tr>
                <td colspan="6"> <label><span style="font-weight: bold;font-size: 16px">DT总成本含税</span>： 计算公式：D+T2+T3</label></td>
                <th></th>
                <th></th>
                <th style="text-align: right">
                    <input class="easyui-numberbox" data-options="readonly:'true',required:true,precision:4" id="total_cost_includes_tax"
                             name="totalCostIncludesTax" style="width: 80px" value="0">
                </th>
            </tr>
                <!--  F实际报价-->
            <tr>
                <td  colspan="8"><label><span style="font-weight: bold;font-size: 16px">F实际报价</span>:（手工输入）</label></td>
                <!-- 实际报价输入框 -->
                <th style="text-align: right">
                    <input class="easyui-numberbox" data-options="required:true,precision:4"
                           id="reality_quoted_price"
                           name="realityQuotedPrice" style="width: 80px" value="0">
                </th>
                <th  colspan="6" style="text-align: right">
                    <label style="margin-left: 20px">兑换率</label>
                    <input class="easyui-numberbox" data-options="precision:4,required:true" id="conversion_rate"
                           name="conversionRate" style="width: 50px" value="1">
                    <label style="margin-left: 5px">货币</label>
                    <input class="easyui-combobox" data-options="required:true,missingMessage:'请先输入实际报价！'"
                           id="costCurrency_type" name="currencyType" readonly="true" value="RMB"
                           style="width: 65px">
                </th>
                <th> <label style="margin-left: 5px">兑后金额</label></th>
                <th  style="text-align: center">
                    <input class="easyui-numberbox" data-options="precision:4,required:true" name="conversionMoney"
                           id="conversionMoney"
                           style="width: 50px">
                </th>
                </tr>
                <!-- 货币兑换率 -->
                <tr>
                    <th colspan="8" style="text-align: right">实际报价除以1.13后价格：</th>
                    <th>
                        <input class="easyui-numberbox" data-options="readonly:'true',required:true,precision:4"
                               id="reality_quoted_price2"
                               name="realityQuotedPrice2" style="width: 80px" >
                    </th>
                </tr>

            </table>
            <hr>
            <div style="margin-top: 10px;">
                <div style="margin-bottom: 10px">

                    <label><span style="font-weight: bold;font-size: 16px">备注:</span></label>
                    <input class="easyui-textbox" name="remark" style="width: 450px;" data-options="prompt:'利润低于10%必须备注原因，负利润必须备注订单量。'">
                    <label><span style="font-weight: bold;font-size: 21px;margin-left: 190px">整套毛利</span>[计算公式：F-DT]：</label>
                    <input class="easyui-numberbox" data-options="readonly:'true',required:true,precision:4" id="grossMarginMoney"
                           name="grossMarginMoney" style="width:  80px" value="0">￥
                </div>
                <div>
                    <label style="margin-left: 602px"><span style="font-weight: bold;font-size: 21px">整套毛利百分比</span>[计算公式：(F-DT)/F]：</label>
                    <input class="easyui-numberbox" data-options="readonly:'true',required:true,precision:2" id="grossMarginRate"
                           name="grossMarginRate" style="width: 80px" value="0">%
                </div>
                <!-- 外销单-->
                <div id="costExportales_div" style="width: 500px;margin: 10px 0px 1px 505px"></div>
            </div>

        </div>
    </form>
</div>
<script th:inline="none" type="text/javascript" src="/js/costReportForm/costReportCommon.js"></script>
<script th:inline="none" type="text/javascript" src="/js/costReportForm/costReportForm.js"></script>
<script th:inline="none" type="text/javascript" src="/js/costReportForm/costReportInit.js"></script>
</body>
</html>